package en.edu.zucc.pb.loginapplication.dao;

import androidx.room.Dao;
import androidx.room.Delete;
import androidx.room.Insert;
import androidx.room.Query;
import androidx.room.Update;

@Dao
public interface BaseBao<T> {

    @Insert
    void insertAll(T... ts);

    @Insert
    long insert(T t);

    @Update
    void updateAll(T... ts);

    @Delete
    void delete(T t);

//    @Query("DELETE FROM author")
//    void clearAll();
}
